<template>
  <div>
    <h3>06 - 自己封装一个组件 - 以普通组件的方法调用</h3>
    <selfcom ref="selfcom" />
    <button @click="$refs.selfcom.show = true">Show Modal</button>
  </div>
</template>

<script>
export default {
  components: {
    selfcom: () => import('../../components/modal')
  }
}
</script>

<style></style>
